#ifndef NETFORM_H
#define NETFORM_H

#include <QDialog>
#include <datebase.h>
#include <QPaintEvent>
#include <QPainter>

namespace Ui {
    class NetForm;
}

class NetForm : public QDialog
{
    Q_OBJECT

public:
    explicit NetForm(datebase *db,int ID,QWidget *parent = 0);
    ~NetForm();
  void paintEvent(QPaintEvent *);
private:
    Ui::NetForm *ui;
    datebase *net_db;
    int Net_ID;
private slots:
    void on_pushButton_OK_clicked();
    void on_pushButton_Quit_clicked();
    void GetNetInfo();
};

#endif // NETFORM_H
